Modules
- This module provides aggregators that can be used in Ascent rules.
- Defines the
Lattice
trait and provides implementations for standard types - internal utility functions defined here
Macros
- The main macro of the ascent library. Allows writing logical inference rules similar to Datalog.
- Like
ascent
, except that the result of anascent_run
invocation is a value containing all the relations defined inside the macro body, and computed to a fixed point.
Structs
- A wrapper type that swaps (
<=
and>=
) forPartialOrd
s, (meet
andjoin
) forLattice
s, and (top
andbottom
) forBoundedLattice
s.
Traits
- A
Lattice
is aPartialOrd
where each pair of elements has a least upper bound (join
) and a greatest lower bound (meet
)